<?php echo $header; ?>
<style>
<!--
.page{
	padding-top:30px;
	width:80%;
	margin:0 auto;
	overflow:hidden;
}

.page div.page_button{
	display:block;
	width:60px;
	height:30px;
	line-height:30px;
	text-align:center;
	border:1px solid #ddd;
	background: url('catalog/view/theme/mobile/image/box.png') repeat-x;
	-webkit-border-radius: 7px 7px 7px 7px;
	-moz-border-radius: 7px 7px 7px 7px;
	-khtml-border-radius: 7px 7px 7px 7px;
	border-radius: 7px 7px 7px 7px;
}

.page_button a {
	display:block;
	line-height:30px;
	text-decoration: none;
	color:#ffffff;
}



-->
</style>
<div id="content">
	<div class="advice_info">
			<div class="advice_head"><h2><?php echo $heading_title; ?></h2></div>
			<!-- 
			<div class="logo">
				<img src="catalog/view/theme/mobile/image/xj/yijing/fengcai_header.jpg" width="100%" />
			</div>
			 -->
			 
			<?php echo $this->getChild('module/slidephone',array('width'=>500,'height'=>300,"banner_id"=>7)); ?>
			<div class="advice_content">
  <div class="account_right">
  <?php if(isset($articles)&&$articles){?>
  	<?php foreach ($articles as $activity) { ?>
  		<div id="list">
  	 		<a href="<?php echo $activity['url']; ?>"><?php echo $activity['title'] ;?> <img src="catalog/view/theme/mobile/image/xj/yijing/arrow.png"></a>
  	 	</div>
  	<?php  }?>
	  	<div class="page">  
	  			<?php if($has_before){?>
		  			<div class="page_button page_pre left">
		  				<a href="<?php echo $before;?>"><img src="catalog/view/theme/mobile/image/xj/yijing/back.png" width="50" height="30px" /></a>
		  			</div>
  				<?php }?>
	  			<?php if($has_more){?>
		  			<div class="page_button page_next right">
		  				<a href="<?php echo $more;?>"><img src="catalog/view/theme/mobile/image/xj/yijing/forward.png" width="50" height="30px" /></a>
		  			</div>
	  			<?php }?>
	  	</div>
  	<?php }else{?>
  		<div class="no_message">
  		没有数据
  		</div>
  		<?php } ?>
  </div>
 </div>
 </div>
 </div>
<?php echo $footer; ?> 